﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            BMWCar bmwCar1 = new BMWCar("奔驰","GLA");
            bmwCar1.Run();

            BMWCar bmwCar2 = new BMWCar("法拉利","F8");
            bmwCar2.Run();

            Batmobile batCar = new Batmobile("蝙蝠战车","第一代");
            batCar.Run();
            batCar.Fly();
        }
    }
}
